﻿// ===============================================================================
// IInputControlValueProvider.cs
// EOS Web Framework
// ===============================================================================
// Copyright (c) EOS Development Group. All rights reserved.
// ===============================================================================

namespace EOS.Framework.Web.Mvc.Controls
{
    /// <summary>
    /// Provides values for input elements.
    /// </summary>
    public interface IForm
    {
        /// <summary>
        /// Gets the value by the specified key.
        /// </summary>
        /// <param name="key">The key of the requested value. Cannot be null or empty
        /// or having only blanks.</param>
        /// <returns>The requested value.</returns>
        string GetValue(string key);
    }
}
